<script setup>
import {categoryContentConfig} from '@/views/main/category/config/content.config'
import useMainContent from '@/hooks/main'
import {categoryChangeConfig} from '@/views/main/category/config/change.config'

//获取页面钩子
const [popupRef, handleEdit] = useMainContent()
</script>

<template>
  <page-content :content-config="categoryContentConfig" @edit="handleEdit"/>
  <page-change :change-config="categoryChangeConfig" ref="popupRef"/>
</template>

<style lang="scss" scoped>
</style>
